﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class LotteryCode
    {
        public const string TABLE_NAME = "LotteryCode";
        public const string INSERT_SQL = "insert into LotteryCode([Code],[ValidDate],[LotterysStatus],[LotteryType],[Memo]) values (@Code,@ValidDate,@LotterysStatus,@LotteryType,@Memo)";
        public const string UPDATE_SQL = "UPDATE LotteryCode SET  [Code]=@Code,[ValidDate]=@ValidDate,[LotterysStatus]=@LotterysStatus,[LotteryType]=@LotteryType,[Memo]=@Memo where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Code
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime ValidDate
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int LotterysStatus
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int LotteryType
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Memo
        {
            get;
            set;
        }
    }

}
